package com.lkx.farmershop.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;

/**
 * (Follow)实体类
 *
 * @author makejava
 * @since 2025-01-29 16:34:00
 */
@Setter
@Getter
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Follow implements Serializable {
    private static final long serialVersionUID = -95582864345373535L;
/**
     * 主键
     */
    @TableId
    private Long id;
/**
     * 用户id
     */
    private Long userid;
/**
     * 关注的用户的id
     */
    private Long followedUserid;

    public Follow(Long userid, Long followedUserid) {
        this.userid = userid;
        this.followedUserid = followedUserid;
    }

}

